﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：DicAddress.cs
// 功能描述：TongTongMall.MallWeb.Core
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using TongTongMall.Domain.Entities;
using TongTongMall.Domain.Repositories.Attributes;

namespace TongTongMall.MallWeb.Core.Components
{
    //地区城市库。地区城市表
    [System.ComponentModel.DataAnnotations.Schema.Table("DicAddress")]
    public class DicAddress : AggregateRoot<int>
    {

        /// <summary>
        /// AdsID
        /// </summary>		
        [Identify]
        public int AdsID { get; set; }
        /// <summary>
        /// 父标识
        /// </summary>		
        public int AdsPID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>		
        public string AdsName { get; set; }
        /// <summary>
        /// 别名
        /// </summary>		
        public string Alias { get; set; }
        /// <summary>
        /// 地区级别。10：大洲/大洋级；20：国家级；30：地区级；40:省级；50:市级；60：县级；70：乡/镇级；80：村级
        /// </summary>		
        public int AdsLevel { get; set; }
        /// <summary>
        /// AdsName2
        /// </summary>		
        public string AdsName2 { get; set; }

    }
}